package com.storlead.email.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Author: Timo
 * @Date: 2019/2/11 11:25
 * @Description: 类用途：
 */
@Controller
@RestController
public class IndexController {


    @GetMapping("/index")
    public String index(){
        return "Spring Index";
    }
}

